@import "../../var";
@import "../../mixin";
.gzl-dialog {
  opacity: 0;
  transition: all 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  &:before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
  }
  &.show {
    opacity: 1;
  }
}
.gzl-dialog__box {
  position: relative;
  background-color: #fff;
  width: px(300);
  border-top: px(4) solid $clr-main;
  border-radius: px(4);
  text-align: center;
  font-size: px(16);
}
.gzl-dialog__con {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: px(20);
  min-height: px(91);
}
.gzl-dialog__hd {
  position: relative;
  margin-bottom: px(8);
  color: $clr-black;
}
.gzl-dialog__ft {
  display: flex;
  position: relative;
  &:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    border-top: 1px solid $clr-ge;
    transform: scaleY(.5);
  }
}
.gzl-dialog__bd {
  color: $clr-g3;
}
.gzl-dialog__section {
  font-size: px(14);
  color: $clr-g6;
}
.gzl-dialog__btn {
  position: relative;
  flex: 1;
  width: 0;
  line-height: px(44);
  color: $clr-active;
  &:not(:first-child) {
    &:before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      border-left: 1px solid $clr-ge;
      transform: scaleX(.5);
    }
  }
  &.default {
    color: $clr-black;
  }
}
.gzl-prompt-text {}
.gzl-dialog__close {
  position: absolute;
  top: px(16);
  right: px(16);
  font-size: px(14);
  line-height: 1;
  z-index: 1;
  &:after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
  }
}
